package com.chainshop.common.core.domain.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 存储通知信息的对象 alerts
 * 
 * @author ruoyi
 * @date 2024-08-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Alerts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知ID */
    private Integer id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleted;
}